package cn.xiongxf.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 支付参数
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PayParamDTO {
    @NotEmpty(message = "订单号不能为空！")
    private String orderNo;

    @NotNull(message = "支付类型不能为空！")
    private Integer payType;

    // 回调URL
    private String callUrl;
}
